﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rmlife.Model
{
    public class LoginUserInfo : ExtLoginUserInfo
    {
        public LoginUserInfo()
        {
            iStatus = 1;
            iGroupid = 2;
            iAdminid = 0;
            dtRegisterDate = DateTime.Now;

        }

        /// <summary>
        /// 索引ID
        /// </summary>
        public int nID { get; set; }
        /// <summary>
        /// 登录名
        /// </summary>
        public string sLoginName { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string sLoginPwd { get; set; }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime dtLastUpdate { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime dtRegisterDate { get; set; }
        /// <summary>
        /// 神盾编号
        /// </summary>
        public string sUsbFlag { get; set; }
        /// <summary>
        /// 神盾码
        /// </summary>
        public string sUsbPass { get; set; }
        /// <summary>
        /// 是否绑定神盾
        /// </summary>
        public int bUseUsbKey { get; set; }
        /// <summary>
        /// 在线状态
        /// </summary>
        public int iOnlinestate { get; set; }
        /// <summary>
        /// 注册IP
        /// </summary>
        public string sRegIP { get; set; }
        /// <summary>
        /// 最后访问时IP
        /// </summary>
        public string sLastIP { get; set; }
        /// <summary>
        /// 新短消息数量
        /// </summary>
        public int iNewPm { get; set; }
        /// <summary>
        /// 最后访问时间
        /// </summary>
        public DateTime dtLastVisit { get; set; }
        /// <summary>
        /// 用户权限ID
        /// </summary>
        public int iAdminid { get; set; }
        /// <summary>
        /// 用户组ID
        /// </summary>
        public int iGroupid { get; set; }
        /// <summary>
        /// 扩展用户组集
        /// </summary>
        public string sExtGroupids { get; set; }
        /// <summary>
        /// 账号状态：0启用,1禁用
        /// </summary>
        public int iStatus { get; set; }
        /// <summary>
        /// 绑定的旺旺狗编号
        /// </summary>
        public string szApproveDogID { get; set; }
    }
}
